
package com.leaves.modular.buspicturemanager.service;

import cn.hutool.core.lang.Dict;
import com.baomidou.mybatisplus.extension.service.IService;
import com.leaves.core.pojo.page.PageResult;
import com.leaves.modular.buspicturefabulous.param.BusPictureFabulousParam;
import com.leaves.modular.buspicturemanager.entity.BusPictureManager;
import com.leaves.modular.buspicturemanager.entity.BusPictureManagerDto;
import com.leaves.modular.buspicturemanager.entity.CategoryPicture;
import com.leaves.modular.buspicturemanager.param.BusPictureManagerParam;
import java.util.List;

/**
 * 图片管理service接口
 *
 * @author 寻叶人
 * @date 2022-03-27 22:05:15
 */
public interface BusPictureManagerService extends IService<BusPictureManager> {

    /**
     * 查询图片管理
     *
     * @author 寻叶人
     * @date 2022-03-27 22:05:15
     */
    PageResult<BusPictureManager> page(BusPictureManagerParam busPictureManagerParam);


    /**
     * 添加图片管理
     *
     * @author 寻叶人
     * @date 2022-03-27 22:05:15
     */
    void save(BusPictureManagerParam busPictureManagerParam);

    /**
     * 删除图片管理
     *
     * @author 寻叶人
     * @date 2022-03-27 22:05:15
     */
    void delete(List<BusPictureManagerParam> busPictureManagerParamList);




    List<Dict> getPictureType();
    /**
     * 获取banner图片
     *
     * @author yubaoshan
     * @date 2020/6/7 22:15
     */
    List<BusPictureManagerDto> getBanners();

    List<CategoryPicture> categoryPicture();

    PageResult<BusPictureManagerDto> searchCategoryPicture(BusPictureManagerParam busPictureManagerParam);

    void pictureFabulous(BusPictureFabulousParam busPictureFabulousParam);

    void freshNumber(Long pictureId);
}
